#ifndef __BULLET__
#define __BULLET__

#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>

#define MAXSPEED 9

class Bullet
{
private:
	int x;
	int y;
	int * scrollx,*scrolly;
	int speed;
	int lifetime;
	int direction;
	ALLEGRO_BITMAP * pic;
public:
	Bullet(int x, int y, int * scrollx, int * scrolly, int direct);
	int draw(ALLEGRO_DISPLAY ** display);
	~Bullet();
};


#endif